{% extends "toast/base.template.html" %}


{% block breadcrumbs %}
	<li class="active">Track Sounds</li>
{% endblock %}


{% block sidecontent %}
	<p class="lead">View All Sound Tracks</p>
{% endblock %}


{% block content %}
{% if list_of_tracksounds %}
	<table class="table">
		<thead>
		<tr>
			<th>Member</th>
			<th>Meeting</th>
			<th>Sound</th>
			<th>Count</th>
		</tr>
		</thead>
		<tbody>
		{% for tracksound in list_of_tracksounds %}
		<tr>
			<td><a href="/toast/attendance/view/{{ tracksound.participant.attendance.id }}">{{ tracksound.participant.attendance.member.first_name_first }}</a></td>
			<td><a href="/toast/meeting/view/{{ tracksound.participant.attendance.meeting.id }}">{{ tracksound.participant.attendance.meeting.name }}</a></td>
			<td><a href="/toast/participation/view/{{ tracksound.participant.id }}">{{ tracksound.sound }}</a></td>
			<td>{{ tracksound.count }}</td>
		</tr>
		{% endfor %}
		</tbody>
	</table>
{% endif %}
{% endblock %}